# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mobile-broadband-provider-info
pkgver=20230416
pkgrel=0
pkgdesc="Mobile broadband settings for various service providers"
url="https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info/"
arch="noarch"
license="CC-PDDC"
makedepends="autoconf automake libxml2-utils libxslt"
source="https://download.gnome.org/sources/mobile-broadband-provider-info/$pkgver/mobile-broadband-provider-info-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
fd6be1387284b31fa300fe59244a5d2d65c9851037f78b540d8d907c9bedd1ec24a8d23bf66403a30995ddb4791b7cb746952d9438c08c846906f6825c44dd9b  mobile-broadband-provider-info-20230416.tar.xz
"
